package com.aggregate.pay.xinfu.support.client;

import com.aggregate.pay.xinfu.bean.PayOrderData;
import com.aggregate.pay.xinfu.bean.PayOrderResult;
import com.aggregate.pay.xinfu.support.AbstractClient;
import com.aggregate.pay.xinfu.support.Factory;
import com.aggregate.pay.xinfu.support.Merch;

/**
 * 收单发起接口
 * @author Moyq5
 * @date 2018年8月31日
 */
public class PayOrder extends AbstractClient<PayOrderData, PayOrderResult> {
	
	public PayOrder(Merch merch) {
		super(merch);
	}

	@Override
	protected Class<PayOrderResult> getResultClass() {
		return PayOrderResult.class;
	}

	@Override
	protected String getApiPath() {
		return Factory.getConfig().serverPath() + "/Api/Pay";
	}

}
